package com.dc.entity.ro;

import com.dc.entity.WareHouse;
import com.dc.ro.PageRO;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 危险品品出入库记录表
 *
 * @date 2021-11-16 10:03:48
 */
@Data
@ApiModel
public class WareHouseRelationRO extends PageRO {

    @ApiModelProperty(value = "")
    private Long id;
    @ApiModelProperty(value = "编号")
    private String number;
    @ApiModelProperty(value = "出/入库，关联dc_ware_house表id")
    private Long houseId;
    @ApiModelProperty(value = "区域id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;
    @ApiModelProperty(value = "区域位置")
    private String regionName;
    @ApiModelProperty(value = "危险品名称")
    private String goodsName;
    @ApiModelProperty(value = "出/入库数量")
    private Integer stockNum;
    @ApiModelProperty(value = "0:入库 1:出库")
    private Integer type;
    @ApiModelProperty(value = "操作人")
    private String creator;
    @ApiModelProperty(value = "出入库时间")
    private String inOutTime;
    @ApiModelProperty(value = "出入库结束时间")
    private String inOutEndTime;
    @ApiModelProperty(value = "出入库明细")
    private List<WareHouse> info;
}
